package com.itheima.service;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface StatisticService {

    //获取会员数量统计数据
    Map<String, Object> getMemberReport();

    //获取预约套餐占比统计数据
    Map<String, Object> getSetmealReport();

    //获取运营统计数据
    Map<String, Object> getBusinessReportData();

    //导出运营数据到Excel并提供客户端下载
    void exportBusinessReport(HttpServletResponse response) throws IOException;
}
